﻿@{
    ViewBag.Title = "Đăng nhập | Book Shop Ngân Hà";
}

<ul class="breadcrumb">
    <li><a href="@Url.Action("Index", "Home")">Trang chủ</a></li>
    <li class="active">Đăng nhập</li>
</ul>

<div class="row margin-bottom-40">
    @{
        Html.RenderPartial("_AccountSidebar");
    }
    <div class="col-md-9 col-sm-9">
        <h1>Đăng nhập</h1>
        <div class="content-form-page">
            <div class="row">
                <div class="col-md-8 col-sm-8">
                    <form class="form-horizontal form-without-legend" method="POST" action="@Url.Action("Login")" role="form">
                        <input type="hidden" value="@ViewBag.PreviousUrl" name="previousUrl" id="previousUrl"/>
                        <div class="form-group">
                            <label for="email" class="col-lg-4 control-label">Tài khoản <span class="require">*</span></label>
                            <div class="col-lg-8">
                                <input type="text" class="form-control" id="username" name="username" value="@ViewBag.Username">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="password" class="col-lg-4 control-label">Mật khẩu <span class="require">*</span></label>
                            <div class="col-lg-8">
                                <input type="password" class="form-control" id="password" name="password">
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="" class="col-lg-4 control-label"></label>
                            <div class="col-lg-8">
                                @Html.ValidationSummary(true, "Đăng nhập lỗi!")
                            </div>
                        </div>
                        <div class="row">
                            <div class="col-lg-8 col-md-offset-4 padding-left-0 padding-top-20">
                                <button type="submit" class="btn btn-primary">Đăng nhập</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
